package com.test.springboot.demo.dao;


import com.test.springboot.demo.pojo.HostIp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HostDAO {
    List<HostIp> getHostList(@Param(value = "host") String host, @Param(value = "ip") String ip);

    HostIp getHostById(Integer id);

    void updateHost(HostIp hostIp);

    Integer getHostId(@Param(value = "host") String host, @Param(value = "port") Integer port);
}
